package com.entmanage.base.collegeco.domain;

import java.math.BigDecimal;
import com.entmanage.common.annotation.Excel;
import com.entmanage.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 评分模板-评分项明细对象 hrm_eval_template_item
 *
 * @author lsq
 * @date 2025-08-01
 */
public class CollegecoEvalTemplateItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评分项ID */
    private Long itemId;

    /** 所属模板ID */
    @Excel(name = "所属模板ID")
    private Long templateId;

    /** 评分项名称，如：工作态度、专业技能、出勤率 */
    @Excel(name = "评分项名称，如：工作态度、专业技能、出勤率")
    private String itemName;

    /** 该项满分（如：20.0） */
    @Excel(name = "该项满分", readConverterExp = "如=：20.0")
    private BigDecimal maxScore;

    /** 权重（可选，用于加权计算） */
    @Excel(name = "权重", readConverterExp = "可=选，用于加权计算")
    private BigDecimal weight;

    /** 评分说明，如：积极主动，按时完成任务 */
    @Excel(name = "评分说明，如：积极主动，按时完成任务")
    private String description;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortOrder;

    /** 删除逻辑标识 */
    @ApiModelProperty(value = "删除逻辑标识")
    private String delFlag;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    public void setItemId(Long itemId)
    {
        this.itemId = itemId;
    }

    public Long getItemId()
    {
        return itemId;
    }
    public void setTemplateId(Long templateId)
    {
        this.templateId = templateId;
    }

    public Long getTemplateId()
    {
        return templateId;
    }
    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }

    public String getItemName()
    {
        return itemName;
    }
    public void setMaxScore(BigDecimal maxScore)
    {
        this.maxScore = maxScore;
    }

    public BigDecimal getMaxScore()
    {
        return maxScore;
    }
    public void setWeight(BigDecimal weight)
    {
        this.weight = weight;
    }

    public BigDecimal getWeight()
    {
        return weight;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setSortOrder(Long sortOrder)
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder()
    {
        return sortOrder;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("itemId", getItemId())
                .append("templateId", getTemplateId())
                .append("itemName", getItemName())
                .append("maxScore", getMaxScore())
                .append("weight", getWeight())
                .append("description", getDescription())
                .append("sortOrder", getSortOrder())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .toString();
    }
}

